<template>
  <div class="zb-pop">
    <div class="triangle"></div>
    <div class="zb-pop-left">
      <h3>热门直播:</h3>
      <div class="up-list">
        <a href="#" class="up-item" v-for="item in 6" :key="item">
          <el-image :src="require('../../assets/icon.jpg')"></el-image>
          <span>LIVE</span>
          <p>音痴兔子</p>
        </a>
      </div>
    </div>
    <div class="zb-pop-right">
      <h3>热门活动:</h3>
      <a href="#" v-for="item in 2" :key="item">
        <el-image :src="require('../../assets/icon.jpg')"></el-image>
      </a>
    </div>
  </div>
</template>
<script>
export default {}
</script>
<style scoped>
.triangle {
  left: 80px;
}
.zb-pop {
  display: none;
  position: absolute;
  top: 50px;
  left: -65px;
  width: 524px;
  height: 265px;
  background-color: #fff;
  z-index: 99;
  box-shadow: 0px 1px 3px #e7e7e7;
  border-radius: 0 0 3px 3px;
}
.zb-pop-left {
  float: left;
  width: 254px;
  padding: 10px 10px;
}

.up-list {
  width: 254px;
  height: 189px;
  display: flex;
  flex-wrap: wrap;
  border-right: 1px solid #ccc;
  justify-content: space-between;
}
.up-item {
  position: relative;
  display: block;
  margin-right: 20px;
}
.up-item .el-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.up-item p {
  width: 100%;
  text-shadow: none;
  color: #000;
  text-align: center;
}
.up-item span {
  transform: scale(0);
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 64px;
  width: 64px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  text-align: center;
  line-height: 64px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.up-item:hover span {
  transform: scale(1);
}
.up-item span::before {
  display: inline-block;
  content: '';
  width: 14px;
  height: 14px;
  background-color: #f09bba;
  border-radius: 50%;
  margin-right: 2px;
  margin-bottom: -1px;
}
.zb-pop-right {
  width: 250px;
  padding: 10px 0px;
  float: left;
  height: 100%;
  margin-left: 10px;
}
.zb-pop-right .el-image {
  width: 208px;
  height: 80px;
  border-radius: 5px;
}
.zb-pop-right a {
  display: block;
  width: 100%;
  height: 100px;
  text-align: center;
  padding: 10px 0;
}
.zb-pop-right a:hover {
  background-color: #e7e7e7;
}
.zb-pop h3 {
  color: #f09bba;
  text-shadow: none;
  font-size: 14px;
}
.zb-pop-right h3 {
  padding-left: 10px;
}
</style>
